-
-
Notifications
You must be signed in to change notification settings - Fork 474
Add --forward-port and --reverse-port via ADB on Android
#2369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --forward-port and --reverse-port via ADB on Android
#2369
Conversation
mhsmith
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this is very good. Obviously it only works when the app is launched via Briefcase, but like --shutdown-on-exit, it could still be useful for all kinds of scripted situations.
Yes, that was the intention of these options. If you need a permanent connection to the Android device, you would have to use ADB manually. For this it would also be practical to have access to the ADB downloaded by |
|
There are some similar ideas in #747. |
Co-authored-by: Malcolm Smith <[email protected]>
This PR adds the possibility to forward/reverse a port to an Android app via ADB.
I needed the forwarding/reversing for adding debug capabilitys to Android in #2351. But now I also have another use case, where I want to connect the android app to a REST-Server running on my host system. So I though it would be generally a useful feature for briefcase.
PR Checklist: